GitHub Enterprise Audit Log (via Azure Storage)

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Connectors Index


Attribute Value
Connector ID GitHubAuditBlobConnector
Publisher Microsoft
Used in Solutions GitHub
Collection Method CCF
Connector Definition Files ConnectorDefinition.json
DCR Definition Files DCR.json
CCF Configuration PollingConfig.json
CCF Capabilities StorageAccountBlobContainer, ServicePrincipal
Microsoft Learn View on Learn

The GitHub audit log connector ingests GitHub Enterprise audit logs into Microsoft Sentinel from Azure Blob Storage with near real-time latency. GitHub streams audit logs to Blob Storage in near real time, and the connector polls the Azure Storage Queue for new blob-created notifications every 5 minutes (default polling interval). By connecting GitHub audit logs to Microsoft Sentinel, you can view this data in workbooks, create custom alerts, and improve your investigation process.

Tables Ingested

This connector ingests data into the following tables:

Table Transformations Ingestion API Lake-Only
GitHubAuditLogsV2_CL

💡 Tip: Tables with Ingestion API support allow data ingestion via the Azure Monitor Data Collector API, which also enables custom transformations during ingestion.

Permissions

Resource Provider Permissions:

Custom Permissions:

Note: The Microsoft.EventGrid resource provider must be registered in the subscription containing the storage account.

Note: This is a one-time action per tenant. If the service principal already exists (i.e., another connector using ScubaSentinelToStorageProd was previously configured in this tenant), the service principal ID will be auto-populated and no action is needed.

Options:

Important: Do not configure network rules based on GitHub IP ranges. GitHub does not provide stable IP ranges as the source of audit log streaming, and those IPs may change without notice.

To assign these roles: navigate to the Storage Account -> Access Control (IAM) -> Add role assignment, search for the service principal ID shown below, and assign both roles.

Setup Instructions

⚠️ Note: These instructions were automatically generated from the connector's user interface definition file using AI and may not be fully accurate. Please verify all configuration steps in the Microsoft Sentinel portal.

1. Connect GitHub Audit Logs to Microsoft Sentinel

To enable the GitHub Audit Log ingestion from Azure Blob Storage, provide the required information below and click on Connect.

📋 Additional Configuration Step: This connector includes a configuration step of type ServicePrincipalIDTextBox_test. Please refer to the Microsoft Sentinel portal for detailed configuration options for this step.

2. Blob Lifecycle Policy (Recommended)

To prevent unbounded storage growth, configure a lifecycle management policy on your storage account to automatically delete blobs after a retention period (for example, 7 days). Once the connector ingests the audit logs into Microsoft Sentinel, the source blobs are no longer needed.

To create a lifecycle rule scoped to your container:

  1. Navigate to your Storage Account -> Data management -> Lifecycle management.
  2. Click Add a rule and configure:
    • Rule name: for example, github-audit-cleanup
    • Rule scope: Select Limit blobs with filters and set the Prefix match to your container name (for example, my-container/). This ensures the rule applies only to blobs in that container.
    • Blob type: Block blobs.
    • Base blobs: Delete blobs that were last modified more than 7 days ago (adjust as needed).
  3. Save the rule.

Note: Each storage account has a single management policy that can contain multiple rules. Each rule can target a specific container via prefix filters. If you already have a lifecycle policy, add a new rule to the existing policy rather than creating a new one.

3. Reference

For detailed instructions on setting up the Azure Storage connector to stream logs to Microsoft Sentinel, see Set up Azure Storage connector.

4. Troubleshooting

If you encounter issues with data ingestion:


Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Connectors Index